<template>
    <div class="contain-box create-box" v-if="auth_detail">
        <header>{{auth_detail.name}}</header>
        <div class="main-box">
            <div class="img-block" v-if="auth_detail.isModule == 1 ? true : false">
                <img :src="auth_detail.logo" alt="logo">
            </div>
            <div class="auth-isModule">
                {{auth_detail.isModule == 1 ? '' : '不'}}属于模块
            </div>
            <div class="auth-remark">
                备注：
                <span>{{auth_detail.remark}}</span>
            </div>
        </div>
    </div>
</template>

<script>
import { mapGetters } from "vuex";

export default {
    name: "auth-detail",
    computed: {
        ...mapGetters("authcreate", ["auth_detail"])
    }
};
</script>

<style>
.create-box {
    width: 85%;
    margin: 0 auto;
}
.auth-isModule,
.auth-remark {
    font-size: 14px;
    color: #a8acaf;
    margin-top: 20px;
}
.auth-remark span {
    color: #333;
}
</style>
